package com.yq.canalkafka.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


/**
 * @author shizan
 */
@Mapper
public interface CommonMapper {

    /**
     * 执行 update语句
     *
     * @param executeSql
     * @return
     */
    int executeUpdate(@Param("executeSql") String executeSql);

    /**
     * 执行 insert语句
     *
     * @param executeSql
     * @return
     */
    int executeInsert(@Param("executeSql") String executeSql);

}
